Skip to content

Use generated docs in local circuit prompt#71

Closed
a1local wants to merge 2 commits into
tscircuit:mainfrom
a1local:codex/generated-docs-prompt-45
Closed

Use generated docs in local circuit prompt#71
a1local wants to merge 2 commits into
tscircuit:mainfrom
a1local:codex/generated-docs-prompt-45

Conversation

@a1local
Copy link
Copy Markdown

@a1local a1local commented May 20, 2026

Summary

  • Loads https://docs.tscircuit.com/ai.txt as optional generated tscircuit docs for the local circuit system prompt
  • Keeps prompt creation resilient when that optional docs endpoint fails
  • Adds focused mocked-fetch coverage for the inclusion and fallback paths

Verification

  • npx --yes bun test tests/prompt-templates/create-local-circuit-prompt.test.ts
  • npx --yes tsc --noEmit
  • npx --yes biome check lib/prompt-templates/create-local-circuit-prompt.ts tests/prompt-templates/create-local-circuit-prompt.test.ts
  • git diff --cached --check

/claim #45

@a1local a1local closed this by deleting the head repository May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant